{extend name="default/base/base_seller" /}
{block name="seller_main"}

<div class="dssc-form-default">
    <dl>
        <dt><em class="pngFix"></em>{$Think.lang.voucher_template_title}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_title}</dd>
    </dl>
    <dl>
        <dt><em class="pngFix"></em>{$Think.lang.voucher_template_enddate}{$Think.lang.ds_colon}</dt>
        <dd>{if $t_info.vouchertemplate_enddate}{:date('Y-m-d',$t_info.vouchertemplate_enddate)}{/if}</dd>
    </dl>
    <dl>
        <dt>{$Think.lang.voucher_template_price}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_price}&nbsp;{$Think.lang.ds_yuan}</dd>
    </dl>
    <dl>
        <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_total}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_total}&nbsp;{$Think.lang.ds_zhang}</dd>
    </dl>
    <dl>
        <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_eachlimit}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_eachlimit}&nbsp;{$Think.lang.ds_zhang}</dd>
    </dl>
    <dl>
        <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_orderpricelimit}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_limit}&nbsp;{$Think.lang.ds_yuan}</dd>
    </dl>
    <dl>
        <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_describe}{$Think.lang.ds_colon}</dt>
        <dd>
            <textarea  name="txt_template_describe" rows="3" class="w300" readonly>{$t_info.vouchertemplate_desc}</textarea>
        </dd>
    </dl>
    <dl>
        <dt ><em class="pngFix"></em>{$Think.lang.voucher_template_image}{$Think.lang.ds_colon}</dt>
        <dd>
            <div style="clear:both; padding-top:10px;">
                {if $t_info.vouchertemplate_customimg}
                <img onload="javascript:ResizeImage(this,220,95);" src="{:ds_get_pic(ATTACH_VOUCHER.session('store_id'),$t_info.vouchertemplate_customimg)}"/>
                {/if}
            </div>
        </dd>
    </dl>
	<dl>
	    <dt ><em class="pngFix"></em>{$Think.lang.vouchertemplate_if_private}{$Think.lang.ds_colon}</dt>
	    <dd>
	        {if $t_info.vouchertemplate_if_private ==1}
	        {$Think.lang.ds_yes}
	        {else}
	        {$Think.lang.ds_no}
	        {/if}
	    </dd>
	</dl>
    <dl>
        <dt><em class="pngFix"></em>{$Think.lang.ds_status}{$Think.lang.ds_colon}</dt>
        <dd>
            {if $t_info.vouchertemplate_state ==1}有效{else}无效{/if}
        </dd>
    </dl>
    <dl>
        <dt><em class="pngFix"></em>{$Think.lang.voucher_template_giveoutnum}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_giveout}&nbsp;{$Think.lang.ds_zhang}</dd>
    </dl>
    <dl>
        <dt><em class="pngFix"></em>{$Think.lang.voucher_template_usednum}{$Think.lang.ds_colon}</dt>
        <dd>{$t_info.vouchertemplate_used}&nbsp;{$Think.lang.ds_zhang}</dd>
    </dl>
    <div class="bottom"> <a href="javascript:void(0);" class="submit" onclick="window.location = '{:url('Sellervoucher/templatelist')}'" > {$Think.lang.voucher_template_backlist}</a> </div>
</div>

{/block}
